package 内部类作业;

public class ATest {
    public static void main(String[] args) {
        A.B b = new A().new B();
        A.C c = new A.C();
       b.eat();
        String name = b.name;
        int id = b.id;
        String sex = c.sex;
        double weight = c.weight;
        c.say();
        int a = A.C.a;
        int b1 = A.C.b;
        A.C.drink();
        A j = new A();
        j.JingTai();
        A.JingTai();//为什么通过对象名无法访问外部类的静态方法

    }
}
